package com.flyco.common.constant;

public enum SfStatus {
    //已揽收
    //运送中
    //派送中
    //已签收
    _30("已装车"),
    _31("运送中"),
    _33("派件异常"),
    _3036("运送中"),
    _44("派送中"),
    _50("已揽收"),
    _70("派件不成功"),
    _80("已签收"),
    _8000("已签收"),
    _130("运送中"),
    _123("运送中"),
    _607("代理收件"),
    _99("转寄中"),
    _648("已退回/转寄"),
    ;
    private final String statusValue;

    private SfStatus(String statusValue){
        this.statusValue = statusValue;
    }
    public String getStatusValue() {
        return statusValue;
    }

    public static SfStatus fromName(String v){
        for (SfStatus s : values()){
            if (s.name().equalsIgnoreCase(v)) return s;
        }
        return null;
    }
}
